<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Jialeo\LaravelSchemaExtend\Schema;

class CreateAliworkCameraLog extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('camera_aliwork_log', function (Blueprint $table) {
            $table->id();
            $table->unsignedInteger("shopCode")->comment("门店编号");
            $table->text('requestLog')->comment('请求原始报文');
            $table->integer("createdAt")->default(0)->comment("创建时间");
            $table->integer('updatedAt')->default(0)->comment('修改时间');
            $table->comment = '阿里云宜搭请求日志';
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('camera_aliwork_log');
    }
}
